package com.eddie.mediator;

import lombok.AllArgsConstructor;

/**
 * 同事抽象类
 * @author Eddie
 * @date 2022/08/04 10:50
 **/

@AllArgsConstructor
public abstract class College {
    private Mediator mediator;
    public String name;

    public Mediator getMediator() {
        return mediator;
    }

    public abstract void sendMessage(int stateChange);
}
